<template>
  <div class="tz-Cont">
    <div class="cont">
      <div class="top">
        <p>通知</p>
        <span>由我们手工制作</span>
      </div>
      <div class="bom">
        <div class="box left">
          <p>通知风格</p>
          <span><a>这是一个明确的通知</a></span>
          <span>这是一个关闭按钮的通知。<i class="iconfont icon-cuowu two"></i></span>
          <span><i class="iconfont icon-tongzhi one"></i><a>这是一个带有关闭按钮和图标的通知。</a><i class="iconfont icon-cuowu two"></i></span>
          <span><i class="iconfont icon-tongzhi one"></i><a>这是一个带有关闭按钮和图标的通知，并且有很多行。您可以看到图标和关闭按钮始终垂直对齐。这是一个很好的通知。所以你不必担心风格。</a><i class="iconfont icon-cuowu two"></i></span>
        </div>
        <div class="box right">
          <p>通知国</p>
          <span><a>信息 - 这是使用`color =“info”`进行的定期通知</a><i class="iconfont icon-cuowu two"></i></span>
          <span>成功 - 这是用`color =“success”`做的定期通知<i class="iconfont icon-cuowu two"></i></span>
          <span><a>警告 - 这是使用`color =“warning”`进行的定期通知</a><i class="iconfont icon-cuowu two"></i></span>
          <span><a>危险 - 这是使用`color =“error”`进行的常规通知</a><i class="iconfont icon-cuowu two"></i></span>
          <span><a>PRIMARY - 这是用`color =“purple”`做的定期通知</a><i class="iconfont icon-cuowu two"></i></span>
        </div>
      </div>
      <div class="tz">
        <span>通知地点</span>
        <p>点击查看通知</p>
      </div>
      <div class="fx">
        <div class="fxbox">
          <span>左上方</span>
          <span>顶级中心</span>
        </div>
      </div>
      <div class="fx">
        <div class="fxbox">
          <span>右上</span>
          <span>左下方</span>
        </div>
      </div>
      <div class="fx">
        <div class="fxbox">
          <span>底部中心</span>
          <span>右下角</span>
        </div>
      </div>
    </div>
    
  </div>
  
</template>

<script>
import '../../assets/font/iconfont.css'
export default {
  data () {
    return {
    }
  },

  methods: {}
}
</script>

<style lang='less'  scoped>
.tz-Cont{
  margin-left: 260px;
  padding:0  20px;
  box-sizing: border-box;
  margin-top: 40px;
  .cont{
    width: 100%;
    // height: 300px;
    background:white;
    padding: 0 20px;
    padding-bottom: 60px;
    box-sizing: border-box;
    .top{
      width: 100%;
      padding: 20px 0;
      background: #5FB663;
      border-radius: 5px;
      position: relative;
      top: -20px;
      padding-left: 20px;
      box-sizing: border-box;
      p{
        color: white;
        font-size: 24px;
      }
      span{
        color: #BAE0BB;
        font-size: 12px;
        
      }
    }
    .bom{
      margin-top: 30px;
      display: flex;
      color: #979797;
      .box{
        flex: 1;
        padding: 0 10px;
      }
      .left{
        span{
          display: block;
          padding: 20px 10px;
          color: white;
          margin: 10px 0;
          display: flex;
          border-radius: 5px;
          background: #00D3EE;
	        align-items: center;
          a{
            flex: 3;
            color: white;
          }
          i{
            font-size: 24px;  
	          align-items: center;
          }
          .two{
            flex: 1;
            text-align: right;
            
          }
        }
      }
      .right{
        span{
          display: block;
          padding: 20px 10px;
          color: white;
          margin: 10px 0;
          display: flex;
          border-radius: 5px;
          align-items: center;
          &:nth-of-type(1){
            background: #00D3EE;
          }
          &:nth-of-type(2){
            background: #5CB860;
          }
          &:nth-of-type(3){
            background:#FFA21A;
          }
          &:nth-of-type(4){
            background:#F55A4E;
          }
          &:nth-of-type(5){
            background: #9C27B0;
          }
          a{
            flex: 3;
            color: white;
          }
          i{
            font-size: 24px;  
	          align-items: center;
          }
          .two{
            flex: 1;
            text-align: right;
            
          }
        }
      }
    }
    .tz{
      width: 100%;
      text-align: center;
      margin-top: 40px;
      span{
        display: block;
        color: #BABABA;
        font-size: 24px;
      }
      p{
        color: #DDDDDD;
        font-size: 12px;
        margin-top: 12px;
      }
    }
    .fx{
      width: 100%;
      display: flex;
      margin-bottom: 20px;
	   justify-content: center;
      .fxbox{
        display: block;
        margin-top: 20px;
        span{
          // width: 100%;
          margin: 0 10px;
          padding: 10px 200px;
          background: #4CAF50;
          color: white;
        }
      }
    }
  }
  
}
</style>
